package com.aw.manual.ejemplo010;

import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * User: gmc
 * Date: 31/05/2010
 */
public abstract class AdministradorDeAcciones {
    public void procesarAccion(Map accionParameters){
        Accion accion = getAccion();
        accion.setParameters(accionParameters);
        accion.ejecutar();
    }
    public abstract Accion getAccion();
}
